let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n154,
                    i =
                    (this && this.__extends) ||
                    ((_n154 = function n(t, e) {
                            return (_n154 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n154(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.SoldierCfg = void 0);
                var r = t('AbsConfig'),
                    a = t('SoldierData'),
                    s = (function(t) {
                        function e() {
                            var e = t.call(this, a.SoldierData) || this;
                            (e._mixLevel = 9999), (e._maxLevel = 0);
                            for (var o = 0; o < e._list.length; o++) {
                                var n = e._list[o];
                                n.level > e._maxLevel && (e._maxLevel = n.level),
                                    n.level < e._mixLevel && (e._mixLevel = n.level);
                            }
                            return e;
                        }
                        return (
                            i(e, t),
                            Object.defineProperty(e, 'ins', {
                                get: function get() {
                                    return null == this._ins && (this._ins = new e()), this._ins;
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            (e.prototype.isMaxLevel = function(t) {
                                var e = this.getData(t);
                                return null != e && e.level >= this._maxLevel;
                            }),
                            (e.prototype.getDataByType = function(t) {
                                for (var e = 0; e < this._list.length; e++) {
                                    var o = this._list[e];
                                    if (o.type == t) return o;
                                }
                                return null;
                            }),
                            (e.prototype.getListByLevel = function(t) {
                                return this.list
                                    .filter(function(e) {
                                        return e.level == t;
                                    })
                                    .sort(function(t, e) {
                                        return t.type - e.type;
                                    });
                            }),
                            e
                        );
                    })(r.default);
                (o.SoldierCfg = s), console.log("end");
            module.exports =  e.exports;